package com.yanqu.road.dao.db;

import java.sql.Connection;
import java.sql.SQLException;

public interface DbPool {

    Connection getConnection() throws SQLException;

    public String getColDetail(int types, int len);

    public default String getColDefault(int types) {
        throw new RuntimeException("找不到对应的默认值");
    }

    public default boolean isMysqlDB() {
        return true;
    }
}
